#include "ShapeFactory.h"

using namespace PHYOgre;

Shape* ShapeFactory::CreateBoxShape(const Vector3& iPosition,const Vector3& iHalfSize)
{
	Box * box= new Box(iPosition, iHalfSize);
	return box;
}
Shape* ShapeFactory::CreatePlaneShape(const Vector3& iPosition,const Vector2& iSize, const Real& iOffset)
{
	Plane *plane = new Plane(iPosition,iSize,iOffset);

	return plane;
}
Shape* ShapeFactory::CreateSphereShape(const Vector3& iPosition, const Real& iRadius)
{
	Sphere *sphere = new Sphere(iPosition, iRadius);
	return sphere;
}